import React,{Component} from "react";
import {Form,Icon,Input,Button,Checkbox} from "antd";

const FormItem = Form.Item;
class NormalLoginForm extends Component{
    render(){
        const {getFieldDecorator} = this.props.form;
        return(
            <Form>
                <Form.Item
                        label="序号"
                        name="index"
                        rules={[
                            {
                                required: true,
                                message: '请输入序号!',
                            },
                        ]}
                    >
                        <Input />
                    </Form.Item>

                    <Form.Item
                        label="名称"
                        name="name"
                        rules={[
                            {
                                required: true,
                                message: '请输入名称!',
                            },
                        ]}
                    >
                        <Input />
                    </Form.Item>
            </Form>

        )
    }
}